package com.lht.cozyCloud.bee;

import com.lht.cozyCloud.common.security.annotation.EnableCOZYFeignClients;
import com.lht.cozyCloud.common.security.annotation.EnableCustomConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author lht
 * @version 1.0
 * @description: TODO
 * @date 2025/1/2 9:34
 */

@EnableCustomConfig  // 基础配置  开启线程异步执行  mapper扫描  feign默认拦截器保留请求头中的用户信息
@EnableCOZYFeignClients  // 包括启动feign,以及同一feign客户端的包扫描
@ComponentScan(basePackages = {"com.lht.cozyCloud"})
@SpringBootApplication
public class BeeApplication {
    public static void main(String[] args) {
        SpringApplication.run(BeeApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  短信服务模块启动成功   ლ(´ڡ`ლ)ﾞ  \n");
    }
}
